The following steps install the SilhouetteCentral web application on IIS.
In order to run SilhouetteCentral, Microsoft .NET 4.5.2 (http://www.microsoft.com/en-us/download/details.aspx?id=42642) must be installed on the server in addition to IIS. If not already installed, .NET can be downloaded from the internet using the link provided. In some circumstances a reboot of the server may be required during installation.
If .NET 4.5.2 was installed prior to IIS being configured (see the Installing Internet Information Services (IIS) section) you may need to re-register ASP.NET in order for IIS to be properly configured to serve ASP.NET 4.5.2 based applications, such as SilhouetteCentral.
To re-register ASP.NET open up an administrator command prompt and type the following command:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir
If installing on a 32-bit version of Windows replace Framework64 with Framework in the command listed above. This step should not be necessary if you installed IIS prior to Microsoft .NET 4.5.2, as the .NET 4.5.2 installer takes care of this step when it detects IIS is already installed.
Unzip the SilhouetteCentral zip file into a sub directory within the main wwwroot folder used by IIS. The name of this folder becomes part of the URL used to access SilhouetteCentral.
For example, if IIS is installed within the C:\inetpub\wwwroot folder and you want the SilhouetteCentral website to be accessible via http://name-of-your-server/Silhouette, you would extract the zip file into a subdirectory called C:\inetpub\wwwroot\Silhouette.
If upgrading an existing SilhouetteCentral installation, check the instructions in the SilhouetteCentral Upgrade section.
Once the SilhouetteCentral software has been placed in the wwwroot folder IIS must be configured to treat this folder as a web application. This can be configured in a number of ways including:
If installing on a Windows 2008 R2 or later server creation of the Silhouette application pool and web application may also be scripted via a powershell command prompt:
Import-Module WebAdministration
New-WebAppPool –Name Silhouette
Set-ItemProperty –path IIS:\AppPools\Silhouette –name "managedRuntimeVersion" –value "v4.0"
Set-ItemProperty –path IIS:\AppPools\Silhouette –name "startMode" –value "AlwaysRunning"
New-WebApplication –Name Silhouette –Site "Default Web Site" –PhysicalPath c:\inetpub\wwwroot\Silhouette –ApplicationPool Silhouette
Set-ItemProperty -path "IIS:\Sites\Default Web Site" -name "preloadEnabled" -value "True"
If upgrading an existing SilhouetteCentral installation most of the IIS configuration should already be completed and can be left unaltered. Check through the configuration of the Application Pool and the site to ensure settings are correct.
The user account used by the application pool created in the previous section (typically IIS AppPool\Silhouette) requires read permission to all files within the folder you extracted SilhouetteCentral to. Note that this user is automatically a member of the local IIS_IUSRS group, which by default has read access to all web applications hosted in the wwwroot folder.
The application pool user account also requires the following subdirectory specific permissions
Folder Name | Permission | Notes |
Files | Modify | All sub-files and folders must inherit this folder permission. |
If SilhouetteConnect as part of your system, then the service account used to run the SQL Server synchronization instance will need to permission to access the folder where SilhouetteConnect databases are stored during the synchronization process (this folder may not exist until after the website has been started). For our default install where the instance name is Silhouette, the user account will be "NT SERVICE\MSSQL$SILHOUETTE".
Folder Name | Permission | Notes |
Files\mdfCreation | Modify | All sub-files and folders must inherit this folder permission. |